package whf.shop.entity;

public class Currency extends whf.framework.entity.AbstractEntity{

	private static final long serialVersionUID = 0;

	/**
	 * 相对于本位币的汇率
	 * 
	 * @property double:exchangeRate
	 */
	private double exchangeRate;

	/**
	 * 货币符号，如：￥,$等,显示时使用
	 * 
	 * @property String:symbol
	 */
	private String symbol;

	/**
	 * 是否本位币
	 * 
	 * @property boolean:isBase
	 */
	private boolean isBase;

	/**
	 * 是否有效
	 * 
	 * @property boolean:effective
	 */
	private boolean effective;

	// ---------- methods ----------

	public void setExchangeRate(double exchangeRate) {
		this.exchangeRate = exchangeRate;
	}

	public double getExchangeRate() {
		return this.exchangeRate;
	}

	public void setSymbol(String symbol) {
		this.symbol = symbol;
	}

	public String getSymbol() {
		return this.symbol;
	}

	public void setBase(boolean isBase) {
		this.isBase = isBase;
	}

	public boolean isBase() {
		return this.isBase;
	}

	public void setEffective(boolean effective) {
		this.effective = effective;
	}

	public boolean isEffective() {
		return this.effective;
	}

}